package com.lee.mysql.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@ApiModel(description="角色菜单关系表")
public class RoleMenu implements Serializable {
   private static final long serialVersionUID = 1L;

    /** 菜单主键 */
    @ApiModelProperty(name="菜单主键",value="菜单主键")
    private String menuId;
    
    /** 角色主键 */
    @ApiModelProperty(name="角色主键",value="角色主键")
    private String roleId;
    


    /**
     * 菜单主键
     * @return the value of role_menu.menu_id
     */
    public String getMenuId() {
        return menuId;
    }
    
     /**
     * 菜单主键
     * @param menuId the value for role_menu.menu_id
     */
    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }
    
    /**
     * 角色主键
     * @return the value of role_menu.role_id
     */
    public String getRoleId() {
        return roleId;
    }
    
     /**
     * 角色主键
     * @param roleId the value for role_menu.role_id
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
           sb.append(", menuId=").append(menuId);
           sb.append(", roleId=").append(roleId);
        sb.append("]");
        return sb.toString();
    }

}